From: Marco Trevisan (TreviƱo) Date: Mon, 25 Aug 2025 12:29:55 +0000 (+0200) Subject: gdm/authPrompt: Clear the inactive entry too X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~88^2~9^2^2~15 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6b212493440a334e487e681b3129066102455ae1;p=gnome-shell.git gdm/authPrompt: Clear the inactive entry too In multi-factor authentication cases we may end up clearing the current entry, but we are potentially leaving a previously filled inactive entry as it is. Avoid this, and clear all the entries we have when clearing the prompt. Part-of: (cherry picked from commit b260314a3986b9936ccfb33945def926604acc8a) --- diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 8dcbfe300..d7e94000d 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -492,6 +492,7 @@ export const AuthPrompt = GObject.registerClass({ clear() { this._entry.text = ''; + this._inactiveEntry.text = ''; this.stopSpinning(); this._authList.clear(); this._authList.hide();